package src.main.StructuralPatterns.Adapter.Default;

// 只处理键盘事件的适配器
public class KeyboardEventAdapter extends DefaultGameEventAdapter {
    @Override
    public void onKeyPress(int keyCode) {
        System.out.println("按键按下: " + keyCode);
    }

    @Override
    public void onKeyRelease(int keyCode) {
        System.out.println("按键释放: " + keyCode);
    }
}
